/*
 * @Author: Lin Ming
 * @Date: 2021-02-25 23:48:29
 * @LastEditors: Lin Ming
 * @LastEditTime: 2021-02-25 23:49:00
 * @FilePath: \vue-zheye\vue.config.ts
 */
module.exports = {
  devServer: {
    proxy: {
      '/api': {
        target: 'http://api.vikingship.xyz', //对应自己的接口
        changeOrigin: true,
        ws: true,
        pathRewrite: {
          '^/api': ''
        }
      }
    }
  }
}